<?php
namespace app\index\controller;
use think\Controller;
use think\Db;
class Time extends Controller
{
    public function index()
    {
        $date=db::table('timelines')->order('time asc')->select();
        
        $this->assign('list',$date);    
        // var_dump($date);    
        return $this->fetch('time/time');
    }
}
?>